package com.poobo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.poobo.dao.ISysLogDao;
import com.poobo.entity.TbSysLog;
import com.poobo.service.ISysLogService;
import com.poobo.util.pager.Page;

@Service
@Transactional
public class SysLogServiceImpl implements ISysLogService {

	@Autowired
	private ISysLogDao iSysLogDao;
	
	@Override
	public void saveSysLog(TbSysLog tbSysLog) {
		iSysLogDao.saveSysLog(tbSysLog);
	}

	@Override
	public Page getTbSysLog(TbSysLog sysLog,Page page) {
		return iSysLogDao.getTbSysLog(sysLog,page);
	}

	@Override
	public void deleteBySysLogId(Integer sysLogId) {
		iSysLogDao.deleteBySysLogId(sysLogId);
	}

}
